<template>
	<view class="content">
		<view class="title">{{ title }}</view>
		<view class="">
			<u-button @click="bindLogin">按钮</u-button>
		</view>
	</view>
</template>

<script>
export default {
	data() {
		return {
			title: '你好，世界'
		};
	},
	onLoad() {
		// this.$u.api
		// 	.recruitGetAll()
		// 	.then(res => {
		// 		console.log(res);
		// 	})
		// 	.catch(err => {
		// 		console.log(err);
		// 	});
	},
	methods: {
		bindLogin(){
			this.$u.route("pages/login/login");
		}
	}
};
</script>

<style lang="scss" scoped>
.content {
	.title {
		height: 100px;
		background-color: #ffffff;
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: center;
	}
}
</style>
